<?php
/**
 * The action->dynamic view file of dashboard module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Chunsheng Wang <chunsheng@cnezsoft.com>
 * @package     dashboard
 * @version     $Id: action->dynamic.html.php 1477 2011-03-01 15:25:50Z wwccss $
 * @link        http://www.zentao.net
 */
?>
<?php include '../../common/view/header.html.php';?>
<?php
css::import($jsRoot . 'jquery/chosen/chosen.min.css');
js::import($jsRoot . 'jquery/chosen/chosen.min.js');
css::import($jsRoot . 'jquery/datetimepicker/datetimepicker.min.css');
js::import($jsRoot . 'jquery/datetimepicker/datetimepicker.min.js');
?>
<style>
    .morecategory{display: none;}
    #bigtype_chosen{width: 28% ! important;display: inline-block;}
    #bigtype2_chosen{width: 28% ! important;display: inline-block;}
    #bigtype3_chosen{width: 28% ! important;display: inline-block;}

    .chosen-container-multi{width: 70% ! important;display: inline-block;}
</style>
<div class='container mw-1400px'>
    <div id='titlebar'>
        <div class='heading'>
            <strong><small class='text-muted'><i class='icon icon-plus'></i></small> <?php echo $lang->process->index;?></strong>
        </div>
    </div>
    <form class='form-condensed' method='post' action="<?php echo $this->createLink('process', 'information');?>" enctype="multipart/form-data">
        <table class='table table-form'>
            <tr>
                <th>违规类型</th>
                <td><?php echo html::select('bigtype[]', $bigtype, '', "class='bigtype form-control chosen-select'");?>
                    <?php echo html::select('type[]', '', '', "class='type form-control chosen-select' multiple");?>
                </td>
                <td><a class="btn addItem"><i class="icon icon-plus"></i></a>
                    <a class="btn delItem"><i class="icon icon-remove"></i></a>
                </td>
            </tr>

            <tr class="morecategory">
                <th>违规类型</th>
                <td><?php echo html::select('bigtype2[]', $bigtype, '', "class='bigtype form-control chosen-select'");?>
                    <?php echo html::select('type2[]', '', '', "class='type form-control chosen-select' multiple");?>
                </td>
                <td>
                </td>
            </tr>
            <tr class="morecategory">
                <th>违规类型</th>
                <td><?php echo html::select('bigtype3[]', $bigtype, '', "class='bigtype form-control chosen-select'");?>
                    <?php echo html::select('type3[]', '', '', "class='type form-control chosen-select' multiple");?>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <th><?php echo $lang->process->department;?></th>
                <td><?php echo html::select('department', $unit, '', "class='form-control chosen-select'");?></td><td></td>
            </tr>
            <tr>
                <th><?php echo $lang->process->concerned;?></th>
                <td><?php echo html::select('concerned[]', '', '', "class='form-control chosen-select'");?></td><td></td>
            </tr>
            <tr>
                <th><?php echo $lang->process->eventtime;?></th>
                <td><?php echo html::input('eventtime', '', "class='form-control form-datetime'");?></td><td></td>
            </tr>
            <tr>
                <th><?php echo $lang->process->address;?></th>
                <td><?php echo html::input('address', '', "class='form-control'");?></td><td></td>
            </tr>
            <tr>
                <th><?php echo $lang->process->attachment;?></th>
                <td colspan='2'><?php echo $this->fetch('file', 'buildform');?></td>
               <td></td>
            </tr>
            <tr>
                <th><?php echo $lang->process->desc;?></th>
                <td colspan='2'><?php echo html::textarea('desc', '', "rows='6' class='form-control'");?></td>
            </tr>
            <tr><td></td><td colspan='2'><?php echo html::submitButton($lang->process->submit);?><?php echo html::backButton();?></td></tr>
        </table>
    </form>
</div>
<?php include '../../common/view/footer.html.php';?>
